package com.seed.pagehelper;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.util.List;

/**
 * @author Peter Fan
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PageData<T> {

    //总记录数
    protected Long total;
    //结果集
    protected List<T> list;

}
